package com.joyoung.common.api;

import okhttp3.OkHttpClient;
import retrofit2.Retrofit;

/**
 * IApiManager
 *
 */
@SuppressWarnings({"unused"})
public interface IApiManager {

    OkHttpClient getDefaultOkHttpClient();

    OkHttpClient.Builder createDefaultOkHttpBuilder();

    <T> T getApi(Class<T> api);

    <T> T getApi(Retrofit retrofit, Class<T> api);
}
